"""
@author:menglei
@desc:获取当前授权商家可发布的商品类目信息
"""
from pdd.api.base import RestApi


class PddGoodsAuthorizationCatsRequest(RestApi):
    """
    @:param: parent_cat_id:LONG:默认值=0，值=0时为顶点cat_id,通过树顶级节点获取一级类目
    """
    def __init__(self,domain='https://gw-api.pinduoduo.com'):
        RestApi.__init__(self, domain)
        self.parent_cat_id = None

    def getapiname(self):
        return 'pdd.goods.authorization.cats'